// 现金奖励
let monyReward = [
  // { img: '@/assets/img/five.png', num: 48, money: 5 },
  { img: require('@/assets/img/five.png'), num: 48, money: 5 },
  { img: require('@/assets/img/fifteen.png'), num: 125, money: 15 },
  { img: require('@/assets/img/eight.png'), num: 260, money: 8 },
]
// 冲榜奖励
let kindReward = [
  // { img: ['@/assets/img/prizes/1.png'], ranking: '第1名', name: 'ido铂金对戒' },
  { img: [require('@/assets/img/prizes/1.png')], ranking: '第1名', name: 'ido铂金对戒' },
  { img: [require('@/assets/img/prizes/2.png')], ranking: '第2名', name: '华为p40 5G' },
  { img: [require('@/assets/img/prizes/3.png')], ranking: '第3-5名', name: 'switch/ipad 19款' },
  { img: [require('@/assets/img/prizes/3.png')], ranking: '第3-5名', name: 'switch/ipad 19款' },
]

// 图片列表
let useriImgList = [
  require('@/assets/img/users/list1.png'),
  require('@/assets/img/users/list2.png'),
  require('@/assets/img/users/list3.png'),
  require('@/assets/img/users/list4.png'),
  require('@/assets/img/users/list5.png')
]
let demoList = {
  status: 200,
  message: 'success',
  data: {
    // total: 100,
    'list|6': [{
      'id|222222-223222': 222222,
      'img|1': useriImgList,
      'num|980-999': 995,
      'createTime|1618408414441-1618408434441': 1618408414441,
      'voteTime|1618408414441-1618408434441': 1618408414441,
      voteList: '@shuffle([111111, 111112, 111113, 111114], 1, 2)',
      gril: '@cname',
      boy: '@cname',
      'age|20-30': 23,
      'job|1': ['前端工程师', '后端工程师', 'UI工程师', '需求工程师'],
      text: ['@csentence()', '@csentence', '@csentence', '@csentence', '@csentence', '@csentence', '@csentence']
    }]
  }
};
let blessing = {
  status: 200,
  message: 'success',
  data: {
    text: ['@csentence()', '@csentence', '@csentence', '@csentence', '@csentence', '@csentence', '@csentence']

  }
}

export default {
  'get|/home/reward': () => {
    return {
      status: 200,
      message: 'success',
      data: { monyReward, kindReward, text: ['@csentence', '@csentence', '@csentence', '@csentence', '@csentence', '@csentence', '@csentence'], }
    };
  },
  'get|/home/users': demoList,
  'get|/home/blessing': blessing,
}